package cn.juque.systemservice.api.dto.org;

import cn.juque.common.abstracts.AbstractRequestDTO;
import lombok.Data;

import javax.validation.constraints.Size;

/**
 * @author JUQUE
 * @version 1.0.0
 * <ul>
 *  <li>simple-generator</li>
 *  <li>机构信息</li>
 * </ul>
 * @date 2022-11-03 23:57:34
 **/
@Data
public class OrgInfoSearchDTO extends AbstractRequestDTO {

    /**
     * 机构ID
     */
    @Size(message = "机构ID不能超过{max}个字符", max = 32)
    private String orgId;

    /**
     * 上级机构ID
     */
    @Size(message = "上级机构ID不能超过{max}个字符", max = 32)
    private String parentOrgId;

    /**
     * 机构名称
     */
    @Size(message = "机构名称不能超过{max}个字符", max = 100)
    private String orgName;

}
